﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaxAssistantBase
{
    public class RestResultInvoiceModel
    {
        public string errorMessage;
        public int errorCode;
        public string declareDate;
        public string status;
        public string code;
        public InvoiiceOcrModel data= new InvoiiceOcrModel();
    }

    public class LoginInvoiceRestResultModel : RestResultInvoiceModel
    {
        //token
        public string token;
    }

    public class LoginInvoiceRestResultModel<T> : LoginRestResultModel
    {
        public T data { get; set; }
    }

    public class RestInvoiceItemResultModel<T> : RestResultInvoiceModel
    {
        public T data { get; set; }
    }

    public class RestListInvoiceResultModel1<T> : RestResultInvoiceModel
    {
        public IList<T> data { get; set; }
    }
}
